package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;
import java.lang.Integer;

/**
 * 生成文书表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "generated_document")
public class GeneratedDocumentEntity {

    /**
     * 文书ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联案件ID
     */
    @Column(value = "case_id")
    private Long caseId;

    /**
     * 使用模板ID
     */
    @Column(value = "template_id")
    private Long templateId;

    /**
     * 文书标题
     */
    @Column(value = "document_title")
    private String documentTitle;

    /**
     * 文书内容(HTML格式)
     */
    @Column(value = "document_content")
    private String documentContent;

    /**
     * 当前版本号
     */
    @Column(value = "current_version")
    private Integer currentVersion;

    /**
     * 文书状态
     */
    @Column(value = "status")
    private Object status;

    /**
     * 签名状态
     */
    @Column(value = "sign_status")
    private Object signStatus;

    @Column(value = "create_time")
    private Date createTime;

    @Column(value = "update_time")
    private Date updateTime;

    /**
     * 最后编辑时间
     */
    @Column(value = "last_edit_time")
    private Date lastEditTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getDocumentTitle() {
        return documentTitle;
    }

    public void setDocumentTitle(String documentTitle) {
        this.documentTitle = documentTitle;
    }

    public String getDocumentContent() {
        return documentContent;
    }

    public void setDocumentContent(String documentContent) {
        this.documentContent = documentContent;
    }

    public Integer getCurrentVersion() {
        return currentVersion;
    }

    public void setCurrentVersion(Integer currentVersion) {
        this.currentVersion = currentVersion;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public Object getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Object signStatus) {
        this.signStatus = signStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }
}
